build: work around bash issue
authorJan Beulich <jbeulich@suse.com>
Fri, 11 Sep 2020 12:08:09 +0000 (14:08 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 11 Sep 2020 12:08:09 +0000 (14:08 +0200)
commit5482c2887d89bf742fd982b8c47510617a5096ef
tree297c6706347a1bf08ee5733e61304e6ad638671c
parentedf5b8627fc8568d14bffef400a9753bf7ce5766
build: work around bash issue

Older bash (observed with 3.2.57(2)) fails to honor "set -e" for certain
built-in commands ("while" here), despite the command's status correctly
being non-zero. The subsequent objcopy invocation now being separated by
a semicolon results in no failure. Insert an explicit "exit" (replacing
; by && ought to be another possible workaround).

Fixes: e321576f4047 ("xen/build: start using if_changed")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 5132a0a37190b73c99dbbecf48dc4fb214feaf14
master date: 2020-08-07 13:12:00 +0200
xen/Rules.mk